package cn.owng.server.common.generated.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 游戏记录详情
 * </p>
 *
 * @author baomidou
 * @since 2024-08-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("game_record_detail")
public class GameRecordDetail extends Model<GameRecordDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "game_record_detail_id", type = IdType.ASSIGN_ID)
    private Long gameRecordDetailId;

    /**
     * 数据
     */
    @TableField("data")
    private String data;

    @Override
    public Serializable pkVal() {
        return this.gameRecordDetailId;
    }
}
